package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ut_permit
 */
@Data
@TableName(value ="ut_permit")
public class UtPermit implements Serializable {
    /**
     * 准许ID
     */
    @TableId(type = IdType.AUTO)
    private Long permitId;

    /**
     * 允许区域ID
     */
    private Long permitDistrictId;

    /**
     * 许可证起始时间
     */
    private Date permitStartTime;

    /**
     * 许可证结束时间
     */
    private Date permitEndTime;

    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}